# * 号
# 元祖的相乘
num = (1, 2)
# (1, 2, 1, 2, 1, 2, 1, 2, 1, 2)
print(num * 5)

# 列表的相乘
name = ["czk", "czj"]
print(name * 5)

# + 合并

# 元祖相加
num_1 = (1, 2)
print(num_1 + (3, 4))

name_1 = ["czj"]
print(name_1 + ["czk"])

# 这里传列表
name_1.extend(["nzq"])
print(name_1)

# 这里传字符串
name_1.append("durant")
print(name_1)

# 是否在列表中
# True
print("czj" in name_1)
# False
print("czj" not in name_1)
# True
print("c" in "czj")

sex = {
    "name": "czk",
    "age": "25"
}
# 判断key是否在字典中
print("name" in sex)
